//
//  MemberCouponCell.m
//  HAODE
//
//  Created by panquanReabam.com on 16/5/28.
//  Copyright © 2016年 reabam.com. All rights reserved.
//

#import "MemberCouponCell.h"

@implementation MemberCouponCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        
        [self createView];
        
    }
    
    return self;
    
}
-(void)createView
{
    
    [super awakeFromNib];
    
    
//    @property (strong, nonatomic)  UILabel *title;
//    @property (strong, nonatomic)  UIButton *xuanzeBtn;
//    @property (strong, nonatomic)  UIImageView *xuanzeimage;
    
    self.xuanzeimage=[[UIImageView alloc]init];
    self.xuanzeimage.frame=CGRectMake(15,  55/2-25/2,  25, 25);
    [self addSubview: self.xuanzeimage];
   
    
    self.title=[[UILabel alloc]init];
    self.title.font=[UIFont systemFontOfSize:14];
    self.title.textColor=[UIColor colorWithRed:51/255.0 green:51/255.0 blue:51/255.0 alpha:1];
    self.title.frame=CGRectMake(self.xuanzeimage.right+10, 0, 520*ScreenWidth/750,45);
    self.title.numberOfLines=0;
    [self addSubview: self.title];
    
    
    
//    self.priceLabel=[[UILabel alloc]initWithFrame:CGRectMake(110, self.createDate.bottom, 400*ScreenWidth/750,12)];
//    self.priceLabel.font=[UIFont systemFontOfSize:12];
//    self.priceLabel.textColor=zhonghuiColor;
//    [self addSubview: self.priceLabel];
//    self.howLabel=[[UILabel alloc]initWithFrame:CGRectMake(ScreenWidth-180, 70, 165, 35)];
//    self.howLabel.textColor=qianheiColor;
//    self.howLabel.textAlignment=NSTextAlignmentCenter;
//    self.howLabel.font=[UIFont systemFontOfSize:16];
//    [self addSubview: self.howLabel];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end

